package winOrDie.Application;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;

import winOrDie.Configuration.WoD_Configuration;
import winOrDie.Game.WoD_Player_Data;
import winOrDie.Net.Http.httpmsg.WoD_HttpMessage;

public class WoD_Login_Manager {

	public boolean getLoginResult(WoD_Player_Data wodpd, WoD_Configuration wodconf)
	{
		try {
			return WoD_HttpMessage.DoLogin(wodconf.getWeb_Server(), wodconf.getWeb_Server_Port(), wodpd.getUserName(), wodpd.getUserPassword());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return false;
	}

}
